-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DO NOT MERGE ME (Solutions ask ) (ABC-343) #517
base: main
Are you sure you want to change the base?
Conversation
m_uv1_param = AbcGeom::IV2fGeomParam(geom_params, header.getName()); // obsolete | ||
} | ||
|
||
if (AbcGeom::IV2fGeomParam::matches(header)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this 2d Vector indexed properties.
We should probably include: Vector3 and Vector4 and Un-indexed flavours.
@@ -0,0 +1,56 @@ | |||
using System.Collections; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This script is a example on how to map the custom vertex attributes to Mesh UV2-3-4 (Solution Ask)
@@ -15,6 +17,37 @@ public class AlembicCustomData : MonoBehaviour | |||
/// </summary> | |||
public List<string> FaceSetNames => faceSetNames; | |||
|
|||
public struct V2FAttribute |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably be renamed to VertexAttributes and should include a Type field.
The data should be read from c++ as a NativeArray but presented to the user as a type safe NativeArray according to the property Type.
@@ -2,7 +2,8 @@ | |||
"dependencies": { | |||
"com.unity.timeline": "1.0.0", | |||
"com.unity.modules.unityanalytics": "1.0.0", | |||
"com.unity.modules.cloth": "1.0.0" | |||
"com.unity.modules.cloth": "1.0.0", | |||
"com.unity.collections" : "1.0.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FixedString128 is the one that forces us to use 23.1 and "com.unity.collections"
c38e0a5
to
9199246
Compare
Arbitrary vertex attributes for meshes (polymesh and subD)